<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>数字抽奖</title>
    <style>
        a{
            color: #c01900;
            text-decoration: none;
        }
    </style>
</head>
<body>
<a href="对象.html">对象</a>
<br/>
<br/>
<script>
    var numbers=[1,2,3,4,5];
    var lucknums=(Math.floor(Math.random()*5));
    alert(numbers[lucknums]);
</script>
</body>
</html>